import Layout from '@/layout'

const ruleRouter = {
  path: '/rule',
  component: Layout,
  name: 'Rule',
  alwaysShow: true,
  meta: {
    title: '制度管理',
    // roles:['prize_institution_manage','admin'],
    icon: 'el-icon-trophy'
  },
  children: [
    {
      name: 'Category',
      path: 'category',
      component: () => import('@/views/rule/category.vue'),
      meta: {
        // roles:['prize_see_institution','admin'],
        title: '获奖类别',
        icon: 'yuan-red'
      }
    },
    {
      name: 'Grade',
      path: 'grade',
      component: () => import('@/views/rule/grade.vue'),
      meta: {
        // roles:['prize_see_institution','admin'],
        title: '获奖等级',
        icon: 'yuan-red'
      }
    },
    {
      name: 'Level',
      path: 'level',
      component: () => import('@/views/rule/level.vue'),
      meta: {
        // roles:['prize_see_institution','admin'],
        title: '获奖级别',
        icon: 'yuan-red'
      }
    },

  ]
}
export default ruleRouter
